package com.yoso.controller.apisix;


import com.yoso.core.dto.ResponseResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@Slf4j
@RestController
@RequestMapping("/apisix-log")
public class ApisixLogController {

    @PostMapping("/receive")
    public ResponseResult<Object> receive(@RequestBody String body) {
        log.info("===================");
        log.info(body);
        log.info("===================");
        return ResponseResult.success();
    }
}
